extends Resource
class_name GlobalItem
@export_group("Health", "health")
@export var health_max : int = 50
var current_health : int = health_max :
	set(value) :
		if value > health_max :
			current_health = health_max
			return
		current_health = value
@export_group("Attack", "attack")
@export var attack_size : int = 2
@export var attack_count : int = 0
@export_range(1.0,10.0) var attack_interval : float = 3.0
@export_range(0.5,5) var attack_speed : float = 2.0
